import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';

// 生产工序
export const spinProcessCreate = (data) => postRequest('/spin/process/create', data);
export const spinProcessUpdate = (data) => putRequest('/spin/process/update', data);
export const spinProcessDelete = (params) => deleteRequest('/spin/process/delete', params);
export const spinProcessGet = (params) => getRequest('/spin/process/get', params);
export const spinProcessPage = (params) => getRequest('/spin/process/page', params);
export const collectionDataListByProcess = (data) => postRequest('/machinemanager/machine/collection-data-list-by-process', data);
